public class YW_CountingDuckFactory extends YW_AbstractDuckFactory {
  
	public YW_Quackable createMallardDuck() {
		return new YW_QuackCounter(new YW_MallardDuck());
	}
  
	public YW_Quackable createRedheadDuck() {
		return new YW_QuackCounter(new YW_RedheadDuck());
	}
  
	public YW_Quackable createDuckCall() {
		return new YW_QuackCounter(new YW_DuckCall());
	}
   
	public YW_Quackable createRubberDuck() {
		return new YW_QuackCounter(new YW_RubberDuck());
	}
}
